function sendRequest() {
  // Content-Type: application/x-www-form-urlencoded
  axios({
    url: 'http://127.0.0.1/api/post/x-www-form-urlencoded',
    method: 'POST',
    data: new URLSearchParams({
      name: '张智琦',
      age: 18
    })
  })
    .then(res => {
      console.log(res.status)
      console.log(res.data)
    })
    .catch(err => {
      console.log(err)
    })
}
